package com.itheima.Jiuye13;

public class LockDmeoTest {
    public static void main(String[] args) {
        LockDemo lock = new LockDemo();
        Thread thread = new Thread(lock,"窗口1");
        Thread thread1 = new Thread(lock,"窗口2");
        Thread thread2 = new Thread(lock,"窗口2");
        thread.start();
        thread1.start();
        thread2.start();
    }
}
